How to implement a SpinLock

join shbcf.ru